#! /usr/bin/env node

import { program } from 'commander'
import { version } from '../package.json'
import init from './init'

program.version(version)
program.description('[dir | .], 安装目录 | 当前目录')

program
  .action(async (name, { args }) => {
    await init(args[0])
  })

program.parse()
